package cz.spock.cms.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

import com.googlecode.objectify.annotation.Unindexed;

/**
 * consider using this as holder for XML data model
 * 
 * @author miso
 */
@Entity
public class DataHolder {
    
    @Id
    private Long id;
    
    private String uri; // represents unique identification in human readable form ( /some/path/and/name )
    @Unindexed
    private String description;
    @Unindexed
    private String data;
    
    
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getUri() {
        return uri;
    }
    public void setUri(String uri) {
        this.uri = uri;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public String getData() {
        return data;
    }
    public void setData(String data) {
        this.data = data;
    }
    
    

}
